﻿using Newtonsoft.Json.Linq;

namespace BodaNetCommunications.CommBase.Interfaces
{
    /// <summary>
    /// 额外的初始化连接时的参数
    /// </summary>
    public interface IExtraInitAction
    {
        JObject ExtraParams { get; }

        /// <summary>
        /// 传入参数，每种PLC根据自身的情况去个性化设置
        /// </summary>
        /// <param name="jObject"></param>
        void ExtraInitAction(JObject jObject = null);
    }
}